﻿
@{
    Layout = null;
}

<!doctype html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>物控系统</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link href="~/Content/X-admin/css/font.css" rel="stylesheet" />
    <script src="~/Content/X-admin/lib/layui/layui.js"></script>
    <link href="~/Content/X-admin/css/xadmin.css" rel="stylesheet" />
    @*<link rel="shortcut icon" href="~/Content/favicon.ico" />*@
    <link rel="shortcut icon" href="~/Content/X-admin/images/icony.png" />
    <script src="~/Content/X-admin/js/jquery.min.js"></script>
    <script src="~/Content/X-admin/js/xadmin.js"></script>
    <script src="~/Content/Scripts/System/Common.js"></script>
    <script src="~/Content/Scripts/System/mainWeb.js"></script>
    <script src="~/Content/Scripts/System/systemFrame.js"></script>
    <script>
        // 是否开启刷新记忆tab功能
        var is_remember = false;
    </script>
</head>
<body class="index">
    <!-- 顶部开始 -->
    <div class="container">
        <div class="logo">
            <a onclick="location.href='Index'">物控系统</a>
        </div>
        <div class="left_open">
            <a><i title="展开左侧栏" class="iconfont">&#xe699;</i></a>
        </div>
        <ul class="layui-nav right" lay-filter="">
            <li class="layui-nav-item">
                <a href="javascript:;">@ViewData["userName"]</a>
                <dl class="layui-nav-child">
                    <dd>
                        <a onclick="ChangePwd()">修改密码</a>

                    </dd>
                    <dd>

                        <a onclick="logOut()">退出</a>
                    </dd>
                </dl>
            </li>
            <li class="layui-nav-item to-index">
                <a onclick="location.href='Index'">首页</a>
            </li>
        </ul>
    </div>
    <!-- 顶部结束 -->
    <!-- 中部开始 -->
    <!-- 左侧菜单开始 -->
    <div class="left-nav" style="height:870px;overflow-y:auto">   @*650*@
        <div id="side-nav">
            <ul id="nav">
                <div id="navUrl">

                </div>


            </ul>
        </div>
    </div>
    <!-- <div class="x-slide_left"></div> -->
    <!-- 左侧菜单结束 -->
    <!-- 右侧主体开始 -->
    <div class="page-content">
        <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
            <ul class="layui-tab-title">
                <li class="home">
                    <i class="layui-icon">&#xe68e;</i>条码档案
                </li>
            </ul>
            <div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
                <dl>
                    <dd data-type="this">关闭当前</dd>
                    <dd data-type="other">关闭其它</dd>
                    <dd data-type="all">关闭全部</dd>
                </dl>
            </div>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    @*<iframe src='../Statistics/DataShow' frameborder="0" scrolling="yes" class="x-iframe"></iframe>*@
                    <iframe src='../Bar/BarCodeInfo' frameborder="0" scrolling="yes" class="x-iframe"></iframe>
                </div>
            </div>
            <div id="tab_show"></div>
        </div>
    </div>
    <div class="page-content-bg"></div>
    <style id="theme_style"></style>
    <!-- 右侧主体结束 -->
    <!-- 中部结束 -->

</body>
</html>
<script type="text/javascript">

    //tab页切换时自动刷新
    //layui.use('element', function () {
    //    var $ = layui.jquery,
    //        element = layui.element; //Tab的切换功能，切换事件监听等，需要依赖element模块
    //    element.on('tab(xbs_tab)', function (data) {  // tabcard:过滤器值,lay-filter所绑定的
    //        var src = $(".layui-tab-item.layui-show").find("iframe").attr("src");
    //        $(".layui-tab-item.layui-show").find("iframe").attr("src", src);
    //    });
    //});

    $(function () {
        loadNavigation();
        setInterval('checkOnline()', 1000 * 60 * 5);//判断登录身份信息是否丢失
        //页面自动刷新一次，用来加载左侧导航栏数据
        if (location.href.indexOf("#") == -1) {
            //在当前页面地址加入"#"，使下次不再进入此判断
            location.href = location.href + "#";
            //location.reload();
        }
    })
    function ChangePwd() {
        layer.open({
            type: 2,
            title: "修改密码",
            skin: 'layui-layer-rim', //加上边框
            area: ['45%', '60%'],
            content: "../System/ChanagePwd",
            offset: "auto"
        });
    }
    //退出
    function logOut() {
        location.href = "Login";
    }

    // 期初打码
    function initPrint() {
        SSO("init-bar-print", "0");
    }

    // 生产打码
    function productionPrint() {
        SSO("production-bar-print", "0");
    }

 
  


</script>